/*
 *  libKara - Library for basic instant messaging functions
 *  Copyright (C) 2007 Markus Karnik
 *
 *  This program is free software; you can redistribute it and/or modify it 
 *  under the terms of the GNU General Public License as published by the
 *  Free Software Foundation; either version 3 of the License, 
 *  or (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful, but
 *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 *  for more details.
 *
 *  You should have received a copy of the GNU General Public License along 
 *  with this program; if not, see <http://www.gnu.org/licenses/>.
 *  
 */

package de.karnik.libkara.proto;

/**
 * This class implements protocol exception for protocol errors.
 * 
 * @author Markus Karnik - markus.karnik@my-design.org
 * @version 1.0
 * @since 1.0
 */
public class ProtocolException extends Exception {

	/**
	 * The serial version uid.
	 */
	private static final long serialVersionUID = 1L;
	
	
	/**
	 * Standard constructor.
	 */
	public ProtocolException() {
		super();
	}
    
	/**
	 * Constructs the exception with the given message.
	 * 
	 * @param message The protocol error message.
	 */
	public ProtocolException( String message ) {
    	super( message );
    }
    
	/**
	 * Constructs the exception with the given message and the cause.
	 * 
	 * @param message The protocol error message.
	 * @param cause The exception cause from the invoking exception.
	 */
	public ProtocolException( String message, Throwable cause ) {
    	super( message, cause );
    }
    
	/**
	 * Constructs the exception with the given cause.
	 * 
	 * @param cause The exception cause from the invoking exception.
	 */
	public ProtocolException( Throwable cause ) {
    	super( cause );
    }
}